package com.xxx.mall.feign;

import com.xxx.mall.bo.AuthAccountBO;
import com.xxx.mall.response.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 邢晨旭
 * {@code @date} 2023/11/16
 */
@FeignClient(value = "mall-auth")
public interface TokenFeignService {

    @GetMapping("/feign/token/checkToken")
    R<AuthAccountBO> checkToken(@RequestParam("accessToken") String accessToken);

}
